package com.zjff.mobiletwo.service;

import com.zjff.mobiletwo.dao.TestDao;
import com.zjff.mobiletwo.entity.UserEntity;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service(value = "TestService")
public class TextService implements TestService {
    @Resource
    TestDao testDao;
    @Override
    public UserEntity login(String username){
        return testDao.login(username);
    }
    @Override
    public UserEntity getuserById(Integer id) {
        return testDao.getuserById(id);
    }
}
